package com.fxp.project.jiuselu.web.models.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fxp.project.jiuselu.web.models.user.entity.JslPcUserOauth;
import com.fxp.project.jiuselu.web.models.user.entity.JslUserOauth;
import org.apache.ibatis.annotations.Param;

public interface JslPcUserOauthMapper extends BaseMapper<JslPcUserOauth> {

    public JslPcUserOauth selectPcUserOauthByOpenId(String openId);

    int updateUserIdByOpenId(@Param("userId") Long userId,@Param("openId") String openId);

    int deletePcUserOauthByOpenId(Long userId);
}
